<template>
      <iframe
        :src=url
        style="width:100%;height:100%"
        ALLOWTRANSPARENCY="true">
      </iframe>
</template>
<script>
//src是嵌入的网页地址
export default {
  data(){
    return{
      url:""
    }
  },
  created() {
      const loading = this.$loading({
        lock: true,
        text: 'Loading',
        spinner: 'el-icon-loading',
        background: 'rgba(0, 0, 0, 0.7)'
      });
      // setTimeout(() => {
      //   loading.close();
      // }, 250);
  }
}
</script>
<style>

</style>
